/**
 * Dear programmer:
 * When I wrote this code, only god and I knew how it worked.
 * Now, only god knows it!
 *
 * @author: Pegasus  Date: 2018-11-30 Time: 23:32
 *
 * 员工做房统计
 */

import React, {Component} from 'react';
import {
  SafeAreaView,
  View,
  Text, ScrollView
} from 'react-native';
import {styles} from './EmployeeStatisticsScreen.Style';
import DateDisplayView from "../../../../component/DateDisplayView/DateDisplayView"
import EmployeeServiceEfficiencyView from "../component/EmployeeServiceEfficiencyView"

export default class EmployeeStatisticsScreen extends Component {

  static navigationOptions = {
    title: '员工做房统计'
  }

  // 构造
  constructor(props) {
    super(props);
    // 初始状态
    this.state = {};
  }

  render() {
    return (
      <SafeAreaView style={styles.container}>

        {
          <DateDisplayView
            leftText={'11月24日报表'}
            onClickLeft={() => {}}
            rightText={'结算'}
            onClickRight={() => {}}
          />
        }

        <ScrollView style={styles.scroll}>

          {/* 列表 */}
          <View>
            <EmployeeServiceEfficiencyView/>
          </View>

        </ScrollView>


      </SafeAreaView>
    )
  }

  _onClickSelectDate() {

  }
}